<<<<<<< HEAD
import { post, postWithLoadTip } from '@/utils/request'

// export default {
//   login: query => postWithLoadTip('/user/login', query),
//   logout: query => post()
// }

export default {
  login: query => postWithLoadTip(`/user/login`, query),
  logout: query => post(`/user/logout`, query)
=======
/*
 * @Author: Camellia 12877962+onemuhan1012@user.noreply.gitee.com
 * @Date: 2024-05-20 09:14:39
 * @LastEditors: Camellia 12877962+onemuhan1012@user.noreply.gitee.com
 * @LastEditTime: 2024-05-27 15:25:55
 * @FilePath: \xtc-student\src\api\login.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { post, postWithLoadTip } from '@/utils/request'

export default {
  login: query => postWithLoadTip(`/user/login`, query),
  logout: query => post(`/api/user/logout`, query)
>>>>>>> 7ecadc8962839be4c8f71425dd0a314dc19dc738
}
